home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib2
/
v_02_06
/
2n06018c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
247 b
|
13 lines
#include <stdio.h>
#include "snooper.h"
void set_xy(int x, int y)
{
/* __BREAK() always prints current state of x, y */
__BREAK(__SCRN__,d_printf("x = %d, y = %d\n",x,y));
set_x(x);
set_y(y);
/* continue ... */
}